package com.cy.listener;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import com.cy.controller.MusicController;

/**
 * 结束游戏监听
 * @author CY
 *
 */
public class EndListener extends MouseAdapter{

	@Override
	public void mouseClicked(MouseEvent e) {
		MusicController.playSelect();
		System.exit(0);
	}

}
